package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.BestSellingProducts;
import com.example.mall.dto.BestSellingProductsDto;
import com.example.mall.query.BestSellingProductsQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 热销商品分析表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface IBestSellingProductsService extends IService<BestSellingProducts> {

    //分页查询热销商品分析表信息
    PageDTO<BestSellingProductsDto> queryPage(BestSellingProductsQuery bestSellingProductsQuery);

    //根据id查询热销商品分析表信息
    BestSellingProducts queryBestSellingProductsById(Long id);

    //查询全部热销商品分析表信息
    List<BestSellingProducts> queryBestSellingProductsList();

    //新增热销商品分析表
    void insert(BestSellingProductsDto bestSellingProductsDto);

    //修改热销商品分析表信息
    void update(BestSellingProductsDto bestSellingProductsDto);

    //删除热销商品分析表信息
    void delete(Long id);

    //批量删除热销商品分析表信息
    void deleteBatch(List<Long> ids);
}
